{{- /*
Позволяет изменять цвет фона триптиха и добавлять подрисуночный текст, со ссылками."`
*/ -}}
{{ $imgFileName_one := .Get 0 }}
{{ $imgFileName_two := .Get 1 }}
{{ $imgFileName_three := .Get 2 }}
{{ $bgСolor := .Get 3 }}
{{ $imgTxt := .Get 4 }}

<div class="row row-cols-1 row-cols-sm-3 g-4 pb-4 mt-3 px-3" style="background-color:{{ $bgСolor }}">
  <div class="col align-self-center">
    <div class="card h-100 border-0">
      <a href="images/{{ $imgFileName_one }}">
        <img src="images/{{ $imgFileName_one }}" class="card-img-top rounded-0" alt="...">
      </a>
    </div>
  </div>
  <div class="col align-self-center">
    <div class="card h-100 border-0">
      <a href="images/{{ $imgFileName_two }}">
        <img src="images/{{ $imgFileName_two }}" class="card-img-top rounded-0" alt="...">
      </a>
    </div>
  </div>
  <div class="col align-self-center">
    <div class="card h-100 border-0">
      <a href="images/{{ $imgFileName_three }}">
        <img src="images/{{ $imgFileName_three }}" class="card-img-top rounded-0" alt="...">
      </a>
    </div>
  </div>
  </div>
  <figcaption class="figure-caption mt-1 mb-3">
    {{ $imgTxt }}
  </figcaption>